package com.xiaoxx.rabbitmq.constant;

import java.time.format.DateTimeFormatter;

/**
 * RabbitMQ常量池()
 *
 * @author yangkai.shen
 */
public interface RabbitQueueExchangeConstant {
	DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");


	/*  延时队列前缀 */
	String DELAY_EXCHANGE_PREFIX = "delay.";


	/**
	 * 队列名
	 */
	interface QueueName {
		String   ALI_CHAT_QUEUE = "ali_chat_queue";
	}

	/**
	 * 交换机名
	 */
	interface ExchangeName {
		String   ALI_CHAT_EXCHANGE = "ali_chat_exchange";
	}

	/**
	 * 路由key
	 */
	interface RoutingKey {
		String   ALI_CHAT_ROUTINGKEY = "ali_chat_routingkey";
	}

}
